/*
 * @Descripttion: 
 * @version: 
 * @Author: sueRimn
 * @Date: 2022-08-19 10:51:04
 * @LastEditors: sueRimn
 * @LastEditTime: 2022-09-19 17:31:21
 */

const state = {
  menuList: [],
  dynamicMenuList: [],//可用用于动态路由
}
const mutations = {
  setMenuList(state, menuList) {
    state.menuList = menuList;
    console.log("menu menuList ", state.menuList)
  },
}
const actions = {
  setMenuList({ commit, state }, menuList) {
    commit("setMenuList", menuList);
  },

}
export default {
  namespaced: true,
  state,
  mutations,
  actions
}